
/*=============================================
=            01. Theme defaults            =
=============================================*/


/*-- Google Font --*/
@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i');


*, *::after, *::before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  height: 100%;

}

body {
  background-color: #f4f4f4;
  line-height: 18px;
  font-size: 13px;
  font-style: normal;
  font-weight: normal;
  visibility: visible;
  font-family: 'Open Sans', sans-serif;
  color: #999999;
  overflow-x: hidden;
}

  .outer-row{
    background: #ffffff;
    box-shadow: 4px 0 2px #dad5d5, -4px 0 2px #dad5d5;
  }

  h1, h2, h3, h4, h5, h6 {
    color: #999999;
    font-weight: 600;
    margin-top: 0;

  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 18px;
    line-height: 25px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 18px;
    line-height: 25px;
  }

  h5 {
    font-size: 14px;
  }

  h6 {
    font-size: 12px;
  }

  p:last-child {
    margin-bottom: 0;
  }

  a, button {
    color: inherit;
    line-height: inherit;
    text-decoration: none;
    cursor: pointer;
  }

  a, button, img, input, span {
    -webkit-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
  }

  *:focus {
    outline: none !important;
  }

  a:focus {
    color: inherit;
    outline: none;
    text-decoration: none;
  }

  a:hover {
    text-decoration: none;
    color: $hover-color;
  }

  button, input[type="submit"] {
    cursor: pointer;
  }

  ul {
    list-style: outside none none;
    margin: 0;
    padding: 0;
  }

  .dark-bg{
    background-color: $theme-color;
  }
  .black-bg{
    background-color: $black;

    @media #{$tablet-device}{
        background: #ffffff;
    }

    @media #{$large-mobile}{
        background: #ffffff;
    }

    @media #{$small-mobile}{
        background: #ffffff;
    }
  }

  .section-padding{
    padding: 40px 0;
  }

  .hidden{
    display: none;
  }

  .visible{
    visibility: visible;
    opacity: 1;
  }


  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 25px;
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' height='10px' width='15px'%3E%3Ctext x='0' y='10' fill='black'%3E%E2%96%BE%3C/text%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 93% 50%;

  }




  /* margin and padding classes*/

  /*--
    - Margin & Padding
-----------------------------------------*/
/*-- Margin Top --*/
@for $i from 1 through 40 {
    .mt-#{5 * $i}{margin-top: 5px * $i;}
}
.mt-5 {
    margin-top: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .mt-sm-#{5 * $i}{margin-top: 5px * $i;}
    }
}

/*-- Margin Bottom --*/
@for $i from 1 through 40 {
    .mb-#{5 * $i}{margin-bottom: 5px *$i;}
}
.mb-5 {
    margin-bottom: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .mb-sm-#{5 * $i}{margin-bottom: 5px * $i;}
    }
}

/*-- Margin Left --*/
@for $i from 1 through 40 {
    .ml-#{5 * $i}{margin-left: 5px * $i;}
}
.ml-5 {
    margin-left: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .ml-sm-#{5 * $i}{margin-left: 5px * $i;}
    }
}

/*-- Margin Right --*/
@for $i from 1 through 40 {
    .mr-#{5 * $i}{margin-right: 5px *$i;}
}
.mr-5 {
    margin-right: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .mright-sm-#{5 * $i}{margin-right: 5px * $i;}
    }
}

/*-- Padding Top --*/
@for $i from 1 through 40 {
    .pt-#{5 * $i}{padding-top: 5px *$i;}
}
.pt-5 {
    padding-top: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .pt-sm-#{5 * $i}{padding-top: 5px *$i;}
    }
}

/*-- Padding Bottom --*/
@for $i from 1 through 40 {
    .pb-#{5 * $i}{padding-bottom: 5px *$i;}
}
.pb-5 {
    padding-bottom: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .pb-sm-#{5 * $i}{padding-bottom: 5px *$i;}
    }
}

/*-- Padding Left --*/
@for $i from 1 through 40 {
    .pl-#{5 * $i}{padding-left: 5px *$i;}
}
.pl-5 {
    padding-left: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .pl-sm-#{5 * $i}{padding-left: 5px *$i;}
    }
}

/*-- Padding Right --*/
@for $i from 1 through 40 {
    .pr-#{5 * $i}{padding-right: 5px *$i;}
}
.pr-5 {
    padding-right: 5px !important;
}
@media #{$large-mobile}{
    @for $i from 1 through 40 {
        .pr-sm-#{5 * $i}{padding-right: 5px *$i;}
    }
}

/*-- Tab Content & Pane Fix --*/
.tab-content {
    width: 100%;
    & .tab-pane {
        display: block;
        height: 0;
        max-width: 100%;
        visibility: hidden;
        overflow: hidden;
        opacity: 0;
        &.active {
            height: auto;
            visibility: visible;
            opacity: 1;
            overflow: visible;
        }
    }
}

  /* scroll to top */

  a.scroll-top {
    background: #666;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: none;
    text-align: center;
    color: #fff;
    font-family: 'FontAwesome';
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50000;

    &:after {
      content: "\f077";
      display: inline;
      font-size: 20px;
    }

    &:hover{
      background-color: $hover-color;
      color: #ffffff;
    }
  }



/*=====  End of 01. Theme default css  ======*/





.sidebar {
    margin-bottom: 50px;
    &:last-child {
        margin-bottom: 0;
    }
}